package com.flyco.modules.system.entity;

import java.io.Serializable;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import com.flyco.poi.excel.annotation.Excel;

/**
 * @Description: 邮件表
 * @Author: flyco
 * @Date:   2023-07-03
 * @Version: V1.0
 */
@Data
@TableName("sys_mail")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="sys_mail对象", description="邮件表")
public class SysMail {
    
	/**id*/
	@TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "id")
	private Integer id;
	/**businessType*/
	@Excel(name = "businessType", width = 15)
    @ApiModelProperty(value = "businessType")
	private String businessType;
	/**接收人邮件*/
	@Excel(name = "接收人邮件", width = 15)
    @ApiModelProperty(value = "接收人邮件")
	private String receive;
	/**邮件主题*/
	@Excel(name = "邮件主题", width = 15)
    @ApiModelProperty(value = "邮件主题")
	private String subject;
	/**邮件内容*/
	@Excel(name = "邮件内容", width = 15)
    @ApiModelProperty(value = "邮件内容")
	private String content;
	/**cc*/
	@Excel(name = "cc", width = 15)
    @ApiModelProperty(value = "cc")
	private String cc;
	/**创建时间*/
	@Excel(name = "创建时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
	private Date createTime;
	/**触发记录Id*/
	@Excel(name = "触发记录Id", width = 15)
    @ApiModelProperty(value = "触发记录Id")
	private String sourceId;

	@Excel(name = "bcc", width = 15)
	@ApiModelProperty(value = "bcc")
	private String bcc;
}
